package ltd.hyangyang.rpc.common.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Component
public class RpcProperties {
    private String fileName = "application.properties";

    private String registryTypeKey = "registry.type";

    private String registryAddrKey = "registry.addr";

    private String serviceNameKey = "registry.serviceName";

    private String serviceNameGroup = "registry.group";

    private String registryType;

    private String addr ;
}
